﻿using CL_SQL.DAL;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CL_SQL.BLL
{
    public class NoticeBLL
    {
        private NoticeDAL  _notice;
        public NoticeDAL NoticeDAL
        {
            get
            {
                if (_notice == null)
                    _notice = new NoticeDAL();
                return _notice;
            }
        }
        public List<Notice> AllNotice()
        {
            return NoticeDAL.AllNotice();
        } 
        public Boolean Add(Notice n)
        {
            return NoticeDAL.Add(n);
        }
    }
}
